package org.gikolet.ch2.logic;

import java.io.IOException;
import java.util.List;

import org.gikolet.ch2.data.Board;
import org.gikolet.ch2.data.Category;
import org.gikolet.util.ProgressMonitor;
import org.gikolet.util.Tuple.Tuple2;

public interface BoardsLogic {

	List<Tuple2<Category, List<Board>>> getBoards() throws IOException;

	void update(boolean cache, ProgressMonitor monitor) throws IOException,
			InterruptedException;
}
